package com.esxy.service.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.esxy.dao.TbContentCategoryMapper;
import com.esxy.entity.TbContentCategory;
import com.esxy.service.TbContentCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.List;

@Service(interfaceClass = TbContentCategoryService.class)
@Component
public class TbContentCategoryServiceImpl implements TbContentCategoryService {

    @Autowired(required = false)
    private TbContentCategoryMapper tbContentCategoryMapper;


    @Override
    public List<TbContentCategory> getTbContentCategoryAll() {
        return tbContentCategoryMapper.selectByExample(null);
    }
}
